<?php


namespace app\api\model;


class Qr extends BaseModel {
    protected $name = 'qrcode';

    public function getQrCode($where,$field='*'){
        return self::field($field)->where($where)->find();
    }

}